package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 分账比例-门店pos关系对象 slkj_shop_pos
 * 
 * @author wangliang
 * @date 2024-07-15
 */
public class SlkjShopPos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** pos系统ID */
    @Excel(name = "pos系统ID")
    private Long posId;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long shopId;

    /** 分账比例 */
    @Excel(name = "分账比例")
    private Long shares;

    /** 删除表示（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPosId(Long posId) 
    {
        this.posId = posId;
    }

    public Long getPosId() 
    {
        return posId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShares(Long shares) 
    {
        this.shares = shares;
    }

    public Long getShares() 
    {
        return shares;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("posId", getPosId())
            .append("shopId", getShopId())
            .append("shares", getShares())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
